package com.woniuxy.exception.customException;

public class TheAddedHasBeenExist extends Exception {
    public TheAddedHasBeenExist() {
        super();
    }

    public TheAddedHasBeenExist(String message) {
        super("添加项已经存在");
    }

    @Override
    public String getMessage() {
        return "添加项已经存在";
    }

    public TheAddedHasBeenExist(String message, Throwable cause) {
        super("添加项已经存在", cause);
    }

    public TheAddedHasBeenExist(Throwable cause) {
        super(cause);
    }

    protected TheAddedHasBeenExist(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super("添加项已经存在", cause, enableSuppression, writableStackTrace);
    }
}
